package org.example.web;

import lombok.Data;
import org.example.web.fegin.CacheDo;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/7/12
 * Email haijunzhou@hnit.edu.cn
 */
@Component
@Data
public class CacheDoImpl implements CacheDo {


    Map<String, Object> queryByIndexCache;


    @Override
    public Map<String, Object> queryByIndex() {
        System.out.println("返回降级数据: queryByIndex");
        return queryByIndexCache;
    }
}
